package com.learnyou.server.xingzuo.dto.paramDTO;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class GuardianParamDTO {

    @NotNull(message = "学生id不能为空")
    @ApiModelProperty(value = "学生ID")
    private Integer studentId;

    @NotEmpty(message = "监护人不能为空")
    @ApiModelProperty(value = "监护人姓名")
    private String guardianName;

    @NotEmpty(message = "性别不能为空")
    @ApiModelProperty(value = "监护人性别")
    private String guardianGender;

    @NotEmpty(message = "手机号不能为空")
    @ApiModelProperty(value = "监护人电话")
    private String guardianPhone;

    @NotEmpty(message = "和学生的关系不能为空")
    @ApiModelProperty(value = "和学生的关系")
    private String guardianRelation;

}
